package com.ceres.farm.service;

import com.github.pagehelper.Page;
import com.ceres.farm.pojo.CustFarm;

public interface AreaService {
    //添加农场片区
    void areaAdd(CustFarm custFarm);
    //修改片区
    void areaUpdate(CustFarm custFarm);
    //根据条件进行分页查询
    Page<CustFarm> findPage(Integer pageNumber, Integer pageSize, Integer custid, String name);
    //根据ID进行查询
    CustFarm findById(Integer id);

}
